package zsc.ruanc.practicaltraining.mapper;

import zsc.ruanc.practicaltraining.model.domain.TAuthority;

import java.util.List;

public interface AuthorityMapper {

    /**
     * 根据id查找用户身份
     * @param id
     * @return
     */
    public String selectRole(int id);

    /*
    * */
    public List<TAuthority> listAuthority();

}
